<?php

namespace app\common\model;

use think\Model;
use think\Hook;
use Carbon\Carbon;
use think\Log;
use think\Exception;
/**
 * 行程模型类
 */
class Trips extends Model
{
	public function createTrip($trip_info)
	{
		# code...
	}

	public function getTripInfo($id)
	{
		# code...
	}

	public function getTrips($user_id = null)
	{
		# code...
	}

	public function delTrip($id)
	{
		# code...
	}

	public function startTrip($id)
	{
		# code...
	}

    public function endTrip($id)
    {
    	# code...
    }
}
